package cn.cdeden.aiqa.domain;

import cn.cdeden.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * AI提问记录对象 wiki_record
 *
 * @author Nick
 * @date 2024-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wiki_record")
public class WikiRecord extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 会话id
     */
    private String conversationId;

    /**
     * 条数
     */
    private Long reCount;

    /**
     * 记录
     */
    private String record;

    /**
     * 知识库应用ID
     */
    private Long appId;

    /**
     * 提问用户
     */
    private Long userId;

    /**
     * 助手id
     */
    private Long assistantId;

    /**
     * 专家知识库标识
     */
    private String expert;


}
